package com.summer.boss.model.vo;

import com.summer.boss.enums.MenuTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class MenuTreeVO {
    private Integer id;

    @ApiModelProperty(value = "菜单编码")
    private String code;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "路由")
    private String route;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "排序")
    private Integer order;

    @ApiModelProperty(value = "类型")
    private MenuTypeEnum type;

    @ApiModelProperty(value = "子节点")
    private List<MenuTreeVO> children;

}
